package com.gaojiawei.multiThread01_ThreadCreateMethod;

public class l1_Tread {
    //创建100个线程同时观察任务管理器
    public static void main(String[] args) {
        for(int i = 0;i < 100;i++){
            new Thread(()->{
                try {
                    Thread.sleep(10000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }).start();
        }
    }
}
